package com.gallsoft.games.bennyadv;

import com.gallsoft.games.framework.gamedev2d.GameObject;
import com.gallsoft.games.framework.gl.TextureRegion;


public class Item extends GameObject {
    public static final float COIN_WIDTH = 1.0f;
    public static final float COIN_HEIGHT = 1.0f;
    public static final int COIN_SCORE = 50;

    float stateTime;
    
    private TextureRegion texture;
    
    public Item(float x, float y, TextureRegion itemImage) {
        super(x, y, COIN_WIDTH, COIN_HEIGHT);
        stateTime = 0;
        texture = itemImage;
    }
    
    public void update(float deltaTime) {
        stateTime += deltaTime;
    }
    
    public TextureRegion getTexture() {
        return texture;
    }
}
